package com.alison.enableimportbean;

import com.alison.CustomBean;
import org.springframework.context.annotation.Import;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author alison
 * @Date 2024/3/27 10:27
 * @Version 1.0
 * @Description
 */
//@EnableConfigurationProperties({EmployeeProperties.class})
//@Configuration

    /*
    这三个注解一定不能丢，要不然失效
     */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(CustomBean.class)
public @interface EnableImportBean {
}
